package com.jiyun.login.feign;

import cn.hutool.jwt.JWTUtil;
import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jiyun.config.Result;
import com.jiyun.model.Member;
import com.jiyun.model.User;
import com.jiyun.vo.ResultResopnse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.TimeUnit;

@FeignClient("day05User")
public interface LoginFeignService {


    @RequestMapping("user/login")
    public ResultResopnse login(@RequestBody User user);
}
